package com.yuyou.fn.tradingservice.vo;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * Created by Administrator on 2017/7/21.
 */
public class PersonLeaseCreateVo {

    @ApiModelProperty(value = "租赁信息id",required = true)
    private Long productId;

    @ApiModelProperty(value = "开始日期",required = true)
    private Date start;

    @ApiModelProperty(value = "结束日期",required = true)
    private Date end;

    @ApiModelProperty(value = "按小时-1，按天租0，按周租 1，按月租 2，按年租 3， 按天租4",required = true)
    private Integer timeType;

    @ApiModelProperty("1每周几，2每天")
    private Integer dateType;

    @ApiModelProperty("0-6 周日到周一")
    private Integer weekNum;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    @ApiModelProperty("租赁的是一个时间段还是多个时间段，0一个，1多个")
    private Integer detachable;

    @ApiModelProperty(value = "单位",required = false)
    private String  unit;

    @ApiModelProperty(value = "时间描述",required = false)
    private String timeDesc;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }

    public Integer getTimeType() {
        return timeType;
    }

    public void setTimeType(Integer timeType) {
        this.timeType = timeType;
    }

    public Integer getDateType() {
        return dateType;
    }

    public void setDateType(Integer dateType) {
        this.dateType = dateType;
    }

    public Integer getWeekNum() {
        return weekNum;
    }

    public void setWeekNum(Integer weekNum) {
        this.weekNum = weekNum;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getDetachable() {
        return detachable;
    }

    public void setDetachable(Integer detachable) {
        this.detachable = detachable;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getTimeDesc() {
        return timeDesc;
    }

    public void setTimeDesc(String timeDesc) {
        this.timeDesc = timeDesc;
    }
}
